//
//	ZcoModelSchedulingAttribute.m
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport



#import "ZcoModelSchedulingAttribute.h"

NSString *const kZcoModelSchedulingAttribute是否机器人 = @"是否机器人";

@interface ZcoModelSchedulingAttribute ()
@end
@implementation ZcoModelSchedulingAttribute




/**
 * Instantiate the instance using the passed dictionary values to set the properties values
 */

-(instancetype)initWithDictionary:(NSDictionary *)dictionary
{
	self = [super init];
	if(![dictionary[kZcoModelSchedulingAttribute是否机器人] isKindOfClass:[NSNull class]]){
		self.是否机器人 = [dictionary[kZcoModelSchedulingAttribute是否机器人] boolValue];
	}

	return self;
}


/**
 * Returns all the available property values in the form of NSDictionary object where the key is the approperiate json key and the value is the value of the corresponding property
 */
-(NSDictionary *)toDictionary
{
	NSMutableDictionary * dictionary = [NSMutableDictionary dictionary];
	dictionary[kZcoModelSchedulingAttribute是否机器人] = @(self.是否机器人);
	return dictionary;

}

/**
 * Implementation of NSCoding encoding method
 */
/**
 * Returns all the available property values in the form of NSDictionary object where the key is the approperiate json key and the value is the value of the corresponding property
 */
- (void)encodeWithCoder:(NSCoder *)aCoder
{
	[aCoder encodeObject:@(self.是否机器人) forKey:kZcoModelSchedulingAttribute是否机器人];
}

/**
 * Implementation of NSCoding initWithCoder: method
 */
- (instancetype)initWithCoder:(NSCoder *)aDecoder
{
	self = [super init];
	self.是否机器人 = [[aDecoder decodeObjectForKey:kZcoModelSchedulingAttribute是否机器人] boolValue];
	return self;

}

/**
 * Implementation of NSCopying copyWithZone: method
 */
- (instancetype)copyWithZone:(NSZone *)zone
{
	ZcoModelSchedulingAttribute *copy = [ZcoModelSchedulingAttribute new];

	copy.是否机器人 = self.是否机器人;

	return copy;
}
@end